package com.demo.wxconfig.demos.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("wx")
@Data
public class WxConfig {
    private String appId;

    private String appSecret;
}
